<!--项目设备开窗 -->
<el-table ref="multipleTable"
          :data="tableData"
          tooltip-effect="dark"
          style="width: 100%"
          max-height="400"
          :row-key="getRowKeys"
          @selection-change="handleSelectionChange">
    <el-table-column type="selection" width="55" :reserve-selection="true"></el-table-column>
    <el-table-column label="日期" prop="MMRGDOCDATE" min-width="45%"></el-table-column>
    <el-table-column label="单据ID" prop="MMRHDOCNO"></el-table-column>
    <el-table-column label="项次" prop="MMRHSEQ"></el-table-column>
    <el-table-column label="费用项目/配件编号" prop="MMRH003"></el-table-column>
    <el-table-column label="名称" prop="GWAML003" :formatter="formatMC"></el-table-column>
    <el-table-column label="数量" prop="MMRH004"></el-table-column>
    <el-table-column label="单价" prop="MMRH005"></el-table-column>
    <el-table-column label="金额" prop="MMRH006"></el-table-column>
    <el-table-column align="right">
        <template slot="header" slot-scope="scope">
            <el-input
                    v-model="keyword"
                    @keyup.native.13="queryDatas($event)"
                    size="mini"
                    placeholder="输入关键字搜索"/>
        </template>
    </el-table-column>
</el-table>
<div style="margin-top: 20px">
    <el-button @click="cancle">关闭</el-button>
    <el-button v-show="operation == 'add'" @click="save">保存</el-button>
    <el-button v-show="operation == 'transfer'" @click="transfer">确认转入</el-button>
</div>
<el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page.sync="page"
        :page-size="limit"
        layout="total, prev, pager, next"
        :total="count">
</el-pagination>
<script>
    require(["pc/crm/common/_open_multi_baogong"], $.noop);
</script>
